package loengud.w08;

import java.applet.Applet;
import java.awt.Graphics;

/**
 * Simple Applet example.
 * <p>
 * In order to use it on the web page, 
 * you have to use the html tag:<br>
 * <code>
 * &lt;applet code="loengud.w08.HelloApplet.class" 
 * width="600" height="400"&gt;<br>
 * &lt;/applet&gt;
 * </code>
 * @author Ago
 *
 */
public class HelloApplet extends Applet {
	/**
	 * Needed for serialization. We
	 * are not using it, but it's recommended
	 * to add this value.
	 */
	private static final long serialVersionUID = 3735497206646236234L;

	/* (non-Javadoc)
	 * @see java.awt.Container#paint(java.awt.Graphics)
	 */
	public void paint(Graphics g) {
		g.drawString("Hello World!", 10, 30);
	}

}
